package com.tsp_tux.demo.Mapper;

import org.apache.ibatis.annotations.Mapper;

/**
 * Created by 周志伟
 */
@Mapper
public interface FileMapper {
     void upLoadFile(String fileName, String url,String type,String uid,Integer aid,Integer sid);
     void updateResourceUseAid(String fileName,String aid);
     void updateResourceUseSid(String fileName,String sid);
     int findFileByUrl(String url);
     void deleteResourceByRid(Integer rid);

     String findUrlByRid(Integer rid);
}
